﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace UmbrellaTest
{
	[TestClass]
	public static class log4net_
	{
		[AssemblyInitialize]
		public static void Configure(TestContext context)
		{
			var l = new log4net.Layout.PatternLayout();

			l.ConversionPattern = "%level %thread %logger - %message%newline";
			l.ActivateOptions();
			
			var ca = new log4net.Appender.ConsoleAppender();

			ca.Threshold = log4net.Core.Level.All;
			ca.Layout = l;
			ca.ActivateOptions();

			log4net.Config.BasicConfigurator.Configure(ca);
		}
	}
}
